function testCreateE34Element() {
  var elem = e34.$("testClassDiv");
  assertNotUndefined("Creating an e34 element with a valid ID should return an object.", elem);
};

function testCreateE34ElementThrowsErrorOnBadInput() {
  try {
    var elem = e34.$("dafdsfadsfadsf");
    fail("Creating an e34 element with an invalid object should throw an Error.");
  } catch (err) {
    assertNotUndefined("Error should have a message", err.message);
  }
};

function testHasClass() {
  var elem = e34.$("testClassDiv");
  assertTrue("Has class should return true when the element has the class.", elem.hasClass("testclass"));
  assertFalse("Has class should return false when the element does not have the class", elem.hasClass("teasdafdssadf"));
};

function testAddClass() {
  var class = new Date().getTime();
  var elem = e34.$("testClassDiv");
  assertFalse("The test element should have the class before we add it.", elem.hasClass(class));
  elem.addClass(class);
  assertTrue("The test element should have the class after we add it.", elem.hasClass(class));
};

function testRemoveClass() {
  var class = new Date().getTime();
  var elem = e34.$("testClassDiv");
  elem.addClass(class);
  assertTrue("The test element should have the class before we remove it.", elem.hasClass(class));
  elem.removeClass(class);
  assertFalse("The test element should not have the class after we remove it.", elem.hasClass(class));
};
